package com.common.constant;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 路亚
 * @version 0.1
 * @className ESProperties
 * @description
 * @date 2024/12/20 16:17
 * @since jdk11
 */
@Component
@ConfigurationProperties(prefix = "luya.es")
@Data
public class ESProperties {
    private String host;
    private Integer port;
}
